package com.atung.request;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("RequestRoutApplication")
public class RequestRoutApplication implements Serializable {/**
	 * 
	 */
	private static final long serialVersionUID = -7355209560556852489L;
	
	@ApiModelProperty(value="用户id ",required=true)
	@NotBlank(message="用户id不能空")
	private String openId;
	
	@ApiModelProperty(value="出发地城市id",required=true)
	@NotNull(message="出发地城市id 为空")	
	private Long departCityId;
	
	@NotNull(message="出发地id为空")
	@ApiModelProperty(value="出发地id",required=true)
	private Long departlId;
	
	@NotNull(message="出发地(名字) 为空")
	@ApiModelProperty(value="出发地(名字)",required=true)
	private String departlName;
	
	@NotNull(message="终点城市id 为空")
	@ApiModelProperty(value="终点城市id",required=true)
	private Long destinationCityId;
	
	@NotNull(message="终点id 为空")
	@ApiModelProperty(value="终点id",required=true)
	private Long destinationId;
	
	@NotNull(message="目的地(名称) 为空")
	@ApiModelProperty(value="目的地(名称)",required=true)
	private String destination;

}
